Moderate: rhevm security and bug fix update

Related Vulnerabilities: CVE-2012-0818   CVE-2012-0818   CVE-2011-5245  

Synopsis

Moderate: rhevm security and bug fix update

Type/Severity

Security Advisory: Moderate

Topic

Updated rhevm packages that fix one security issue and various bugs are now
available.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

Description

Red Hat Enterprise Virtualization Manager is a visual tool for centrally
managing collections of virtual machines running Red Hat Enterprise Linux
and Microsoft Windows. These packages also include the Red Hat Enterprise
Virtualization Manager REST (Representational State Transfer) API, a set of
scriptable commands that give administrators the ability to perform queries
and operations on Red Hat Enterprise Virtualization Manager.

It was found that RESTEasy was vulnerable to XML External Entity (XXE)
attacks. If a remote attacker who is able to access the Red Hat Enterprise
Virtualization Manager REST API submitted a request containing an external
XML entity to a RESTEasy endpoint, the entity would be resolved, allowing
the attacker to read files accessible to the user running the application
server. This flaw affected DOM (Document Object Model) Document and JAXB
(Java Architecture for XML Binding) input. (CVE-2012-0818)

This update also fixes the following bugs:

  • Previously the REST API was ignoring the "Accept" header. This made it
    impossible to retrieve detailed information about specific sub-collections,
    including hosts and disks. The REST API has been updated and now processes
    the "Accept" header as originally intended. (BZ#771369)
  • The "start_time" Virtual Machine property was previously always set. This
    meant that even Virtual Machines that were stopped, had a value for
    "start_time". An update has been made to ensure that the "start_time"
    property is only set when the Virtual Machine has been started, and is
    running. (BZ#772975)
  • The 'rhevm-setup' script previously only ran successfully on systems with
    their locale set to 'en_US.UTF-8', 'en_US.utf-8', or 'en_US.utf8'. The
    script has since been updated to also run successfully in additional
    locales, including 'ja_JP.UTF-8'. (BZ#784860)
  • The REST API did not previously validate that all required parameters
    were provided when enabling power management. The response code returned
    would also incorrectly indicate the operation had succeeded where
    mandatory parameters were not supplied. An update has been made to ensure
    that the power management parameters are validated correctly. (BZ#785744)
  • Previously no warning or error was issued when the amount of free disk
    space on a host was low. When no free disk space remained on the host it
    would become non-responsive with no prior warning. An update has been made
    to report a warning in the audit log when a host's free disk space is less
    than 1000 MB, and an error when a host's free disk space is less than 500
    MB. (BZ#786132)
  • When importing Virtual Machines no notification was provided if the MAC
    address of the network interface card clashed with that of an existing
    Virtual Machine. Now when this occurs a message is printed to the audit
    log, highlighting the need for manual intervention. (BZ#795416)
  • Previously it was not possible to set more, or less, than one value for
    SpiceSecureChannels using the rhevm-config tool. This meant it was not
    possible to encrypt all SPICE channels. The rhevm-config tool has been
    updated and it is now possible to encrypt all SPICE channels, by adding
    them to the SpiceSecureChannels configuration key. (BZ#784012)

All Red Hat Enterprise Virtualization users are advised to upgrade to these
updated packages, which address this vulnerability and fix these bugs.
Refer to the Solution section for information about installing this update.

Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Follow the upgrade
procedure in the Red Hat Enterprise Virtualization
Installation Guide to install these updated packages:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Installation_Guide/chap-Installation_Guide-Installing_the_RHEV_Manager-Upgrades.html

Affected Products

  • Red Hat Virtualization 3 for RHEL 6 x86_64

Fixes

  • BZ - 785631 - CVE-2012-0818 RESTEasy: XML eXternal Entity (XXE) flaw

CVEs

References